package com.zrf.testchatgpt.service;

import com.zrf.testchatgpt.entity.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IRoleService {
    public List<Role> queryByUserId(Integer userid);
    public int updateRoleById(@Param("userId") String userId, @Param("list") List<Integer> list);
    public int deleteRoleById(@Param("userId") String userId,@Param("list") List<Integer> list);
    public int insertRole(@Param("roleId") String roleId, @Param("list") List<Integer> list);
    public int deleteRoleP(@Param("roleId") String roleId, @Param("list") List<Integer> list);
}
